<div class="container-fluid">
	<div id="pad-wrapper">
		<!-- products table-->
		<!-- the script for the toggle all checkboxes from header is located in js/theme.js -->
		<div class="table-wrapper products-table section">
			<div class="row-fluid head">
				<div class="span12">
					<h4>推荐明细</h4>
				</div>
			</div>
			<div class="row-fluid">
				<table class="table table-hover">
					<thead>
					<tr>
						<td>微信昵称</td>
						<td>绑定时间</td>
						<td>状态</td>
						<td>是否预约</td>
					</tr>
					</thead>
					<?php foreach ($bookingList as $item):?>
						<tr>
							<td><?php echo $item['id']?></td>
							<td><?php echo date('Y-m-d H:i:s', $item['create_time'])?></td>
							<td><?php
								if(time()-$item['create_time'] > 24*60*60*30){
									echo '失效';
								}else{
									echo '有效';
								}
								?></td>
							<td><?php
								if($item['status'] == 2 || $item['status'] == 3 || $item['status'] == 4){
									echo '已预约';
								}else{
									echo '未预约';
								}
								?></td>
						</tr>
					<?php endforeach;?>
					</form>
				</table>
			</div>
		</div>
		<!-- end products table -->
	</div>
	<div class="pagination pull-right">
		<?php echo $pagination;?>
	</div>
</div>


